import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/compliance_file_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/compliance_file_entity.g.dart';

/// 合规性文件实体
@JsonSerializable()
class ComplianceFileEntity {
  ComplianceFileEntity();

  factory ComplianceFileEntity.fromJson(Map<String, dynamic> json) => $ComplianceFileEntityFromJson(json);
  String? companyCode = '';
  String? createBy = '';
  String? createById = '';
  String? createDate = '';
  String? deleted = '';
  String? effectiveDate = '';
  int? fileChildType = 0;
  String? fileConfigId = '';
  String? fileHistory = '';
  String? fileName = '';
  String? fileObject = '';
  String? fileUrl = '';
  String? formId = '';
  String? id = '';
  String? organizationDate = '';
  String? remark = '';
  String? statusName = '';
  String? updateBy = '';
  String? updateById = '';
  String? updateDate = '';
  List<ComplianceFileEntity>? fileHistoryArray = [];

  Map<String, dynamic> toJson() => $ComplianceFileEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
